import request from '@/utils/request'

export function visitCount(data) {
  return request({
    url: '/statistics/visitCount',
    method: 'get',
    params: data
  })
}

export function fetchCountData() {
  return request({
    url: '/statistics/count',
    method: 'get'
  })
}

export function homeworkCount() {
  return request({
    url: '/statistics/homeworkCount',
    method: 'get'
  })
}
